package _7_4;

public class Main {
	public static void main(String[] args) {
		try {
			Company sun = new Company(new Person("Liolio", "Lioliov"), "Sun",
					"This str. 123", "123456", null);
			sun.print();
		} catch (NullPointerException e) {
			System.err.println("error: exception occured");
			e.printStackTrace();
		}

		System.out.println("afterblock");
	}
}
